package com.enterprise.projectManager.service;

import com.enterprise.projectManager.dto.PaySearchConditions;
import com.enterprise.projectManager.model.PayProgress;
import com.enterprise.projectManager.model.Project;

import java.util.List;
import java.util.Map;

public interface PayProgressService {
    PayProgress updatePayProgress(PayProgress payProgress);

    List<PayProgress> listAll();
    PayProgress search(String id);

    PayProgress searchPayProgressByContractName(String contractName);
    PayProgress searchPayProgressByContractType(String contractType);
    PayProgress searchPayProgressByFirstCompany(String firstCompany);
    PayProgress searchPayProgressBySecondCompany(String secondCompany);
    PayProgress searchPayProgressByContractState(String contractState);
    List<PayProgress> filterProgressBySQL(PaySearchConditions paySearchConditions);

    PayProgress createPayProgress(PayProgress payProgress);

}
